package com.yong.ssj.db.dao.customer;

import java.util.List;
import java.util.Map;

import com.yong.ssj.db.dto.customer.CustomerDto;
import com.yong.ssj.db.dto.customer.MaterialDto;
import com.yong.ssj.vo.customer.MaterialVo;
import com.yong.ssj.vo.customer.RenzhenVo;
import com.yong.ssj.vo.customer.UpdategerenVo;
import com.yong.ssj.vo.customer.UpdatejiaVo;
import com.yong.ssj.vo.customer.jiashiVo;
import com.yong.ssj.vo.customer.twiceDrVo;
import com.yong.ssj.vo.customer.twiceIdVo;

public interface IOrdinaryDao {
	public List<Map<String, Object>> queryOrdinary();//查询所有的普通用户
	public MaterialDto queryCustomer(long customer_id);//根据用户id查询认证信息详情
	public List<Map<String, Object>> queryWait();//查询所有的未认证用户
	public List<Map<String, Object>> queryAuthenticated();//查询所有的已认证用户
	public int updateMaterial(MaterialVo vo);//修改认证信息
	public CustomerDto queryPhone(String customer_name);//根据用户名（手机号）查询相应的用户信息
	public String queryPhone(long customer_id);//根据用户id查询手机号
	public int updateGR(UpdategerenVo vo);
	public int updateJS(UpdatejiaVo vo);
	public int updateStatus(String rz_status,String material_id);//修改审核认证状态
	public List<Map<String, Object>> materialStatus(long customer_id);  //查询首页认证状态
	public int updateGRuse(RenzhenVo vo,long customer_id);//认证普通版
	public int updateGRma(RenzhenVo vo,long customer_id);//修改普通版材料
	public int updateJSuse(jiashiVo vo,long customer_id);//认证驾驶证版
	public int updateJSma(jiashiVo vo,long customer_id);//修改普通版材料
	public int updateziliao(String zfb_code,String wx_code,String address,long customer_id);//修改资料
	public CustomerDto queryCuser(long customer_id);//根据id查询所有信息
	public int updatePassword(String customer_password, long customer_id);//修改密码
	public int updateTwiceID(twiceIdVo vo,long customer_id);//二次认证普通版
	public int updateTwiceDr(twiceDrVo vo,long customer_id);//二次驾驶证版
	public int updateCusStatus(String customer_status,long customer_id);//修改会员认证状态
	
}
